package com.vca.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vca.common.model.course.CourseAbout;
import com.vca.common.model.course.CoursePackageRelation;

import java.util.List;

/**
 * <p>
 * 套课与课程关系表 服务类
 * </p>
 *
 * @author chenBing
 * @since 2022-11-16
 */
public interface CoursePackageRelationService extends IService<CoursePackageRelation> {

    /**
     * 添加单个套课与多个课程关系
     * @param coursePackageRelations
     * @author Li
     * @date    2022/11/18 10:41
     * @return
     */
    public boolean addCoursePackageRelation(List<CoursePackageRelation> coursePackageRelations);

    /**
     * 修改单个套课和多个课程的关系
     * @param coursePackageRelations
     * @param coursePackageId
     * @return
     */
    boolean updateCoursePackageRelation(List<CoursePackageRelation> coursePackageRelations, Long coursePackageId);
}
